package com.qiyu.tech.mybatis.log.starter.model;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author linhao
 * @Date created in 3:57 下午 2021/2/22
 */
@TableName(value = "t_user")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class User {

    @TableId(type = IdType.AUTO)
    private int id;

    private String username;

    private int sex;
}
